package com.bootdo.staff.service;

import com.bootdo.common.utils.AppR;
import com.bootdo.staff.domain.StaffMenuRoleDO;

import java.util.List;
import java.util.Map;

/**
 * 用户权限表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-23 13:59:00
 */
public interface StaffMenuRoleService {
	
	StaffMenuRoleDO get(Long id);
	
	List<StaffMenuRoleDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StaffMenuRoleDO staffMenuRole);
	
	int update(StaffMenuRoleDO staffMenuRole);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	public AppR getIsRole(Long staffId , Long smenuId);
	
	int updateUserState(StaffMenuRoleDO staffMenuRoleDO);
}
